
// 1 实时传感器数据列表-按场景
// const sensorDataReal = val => get(`/pc_show_screen_all/sensor_data_real_get_by_scene_list`, val)
const sensorDataReal = val => get(`/wnpc_show_screen_all/sensor_data_real_get_by_scene_list`, val)
// /youxianSpace-system/wnpc_show_screen_all/sensor_data_real_get_by_scene_list
// 2 获取传感器历史数据-按污染物
const sensorDataHistory = val => get(`/wnpc_show_screen_all/sensor_data_history_get_by_list`, val)
// 5 其它统计接口
const otherData = val => get(`/wnpc_show_screen_all/other_statistics`, val)
// 10.1. 运维-列表分页
const maintenanceListPage = val => get(`/wnpc_show_screen_all/maintenance_get_by_page`, val)
// 10.2. 运维-列表
const maintenanceList = val => get(`/wnpc_show_screen_all/maintenance_get_by_list`, val)
// 10.3. 运维-根据id获取详情信息
const maintenanceDetail = val => get(`/wnpc_show_screen_all/maintenance_get_by_id`, val)
// 10.4. 运维-新增编辑维保记录
const editMaintenance = val => post(`/wnpc_show_screen_all/maintenance_save_or_update`, val)
// 10.5. 运维-派单
const maintenanceDispatch = val => post(`/wnpc_show_screen_all/maintenance_dispatch_info`, val)
// 10.6. 运维人员账号信息分页pc_show_screen_all/cms_user_get_by_list_maintenance
const maintenanceUserListPage = val => get(`/wnpc_show_screen_all/cms_user_get_by_page_maintenance`, val)
// 10.7. 运维人员账号信息列表
const maintenanceUserList = val => get(`/wnpc_show_screen_all/cms_user_get_by_list_maintenance`, val)
// 10.8 获取运维任务所属公司的安环负责人、企业负责人账号
const superiorUserList = val => get(`/wnpc_show_screen_all/cms_user_get_by_superior`, val)

// 20.1. 报警-列表分页
// const alarmListPage = val => get(`/pc_show_screen_all/alarm_get_by_page`, val)
const alarmListPage = val => get(`/wnpc_show_screen_all/alarm_get_by_page`, val)
// 20.2. 报警-列表
// const alarmList = val => get(`/pc_show_screen_all/alarm_get_by_list`, val)
const alarmList = val => get(`/wnpc_show_screen_all/alarm_get_by_list`, val)
// 20.3. 报警-根据id获取详情信息
// const alarmDetail = val => get(`/pc_show_screen_all/alarm_get_by_id`, val)
const alarmDetail = val => get(`/wnpc_show_screen_all/alarm_get_by_id`, val)
// 20.4. 报警-报警记录-继续跟进、不进行处理完成跟进
// const alarmUpdate = val => post(`/pc_show_screen_all/alarm_save_or_update_continue`, val)
const alarmUpdate = val => post(`/wnpc_show_screen_all/alarm_save_or_update_continue`, val)
// 30.4. 电子锁进出记录列表
// const lockList = val => get(`/pc_show_screen_all/lock_son_list`, val)
const lockList = val => get(`/wnpc_show_screen_all/lock_son_list`, val)

// 2 获取传感器历史数据-按污染物
const sensorHistory = val => get(`/wnpc_show_screen_all/sensor_data_history_get_by_list`, val)
// 40.1. 列表-客户方-定时获取系统告知
const warnNoticeList = val => get(`/wnpc_show_screen_all/inform_get_by_list_to`, val)
// 40.2. 告知消息确认
const warnNoticeEnsure = val => post(`/wnpc_show_screen_all/inform_save_or_update_ensure`, val)
// 50.2. 应急物资列表
const suppliesList = val => get(`/wnpc_show_screen_all/urgent_infoget_by_list`, val)